package com.suntine.familytree.core.framework.service;

import java.io.Serializable;
import java.util.List;

/**
 * @corporation 
 * @author suntine
 * @creation 2011-4-14 下午03:22:44
 * @description 
 */
public abstract interface BaseService <T extends Serializable>{

	abstract public T save(T entity);
	abstract public int delete (T entity);
	abstract public T findById(long id);
	abstract public int update(T entity);
	abstract public List queryByJpql(String jpql); 
	abstract public List queryAll();
}
